#region License

// Copyright (c) 2013, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This file is part of the ClearCanvas RIS/PACS open source project.
//
// The ClearCanvas RIS/PACS open source project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General Public
// License as published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// The ClearCanvas RIS/PACS open source project is distributed in the hope that it
// will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
// Public License for more details.
//
// You should have received a copy of the GNU General Public License along with
// the ClearCanvas RIS/PACS open source project.  If not, see
// <http://www.gnu.org/licenses/>.

#endregion

// This file is auto-generated by the ClearCanvas.Model.SqlServer.CodeGenerator project.

namespace ClearCanvas.ImageServer.Model.EntityBrokers
{
    using System;
    using System.Xml;
    using ClearCanvas.Enterprise.Core;
    using ClearCanvas.ImageServer.Enterprise;

    public partial class WorkQueueUidSelectCriteria : EntitySelectCriteria
    {
        public WorkQueueUidSelectCriteria()
        : base("WorkQueueUid")
        {}
        public WorkQueueUidSelectCriteria(WorkQueueUidSelectCriteria other)
        : base(other)
        {}
        public override object Clone()
        {
            return new WorkQueueUidSelectCriteria(this);
        }
        [EntityFieldDatabaseMappingAttribute(TableName="WorkQueueUid", ColumnName="WorkQueueGUID")]
        public ISearchCondition<ServerEntityKey> WorkQueueKey
        {
            get
            {
              if (!SubCriteria.ContainsKey("WorkQueueKey"))
              {
                 SubCriteria["WorkQueueKey"] = new SearchCondition<ServerEntityKey>("WorkQueueKey");
              }
              return (ISearchCondition<ServerEntityKey>)SubCriteria["WorkQueueKey"];
            } 
        }
        [EntityFieldDatabaseMappingAttribute(TableName="WorkQueueUid", ColumnName="FailureCount")]
        public ISearchCondition<Int16> FailureCount
        {
            get
            {
              if (!SubCriteria.ContainsKey("FailureCount"))
              {
                 SubCriteria["FailureCount"] = new SearchCondition<Int16>("FailureCount");
              }
              return (ISearchCondition<Int16>)SubCriteria["FailureCount"];
            } 
        }
        [EntityFieldDatabaseMappingAttribute(TableName="WorkQueueUid", ColumnName="Failed")]
        public ISearchCondition<Boolean> Failed
        {
            get
            {
              if (!SubCriteria.ContainsKey("Failed"))
              {
                 SubCriteria["Failed"] = new SearchCondition<Boolean>("Failed");
              }
              return (ISearchCondition<Boolean>)SubCriteria["Failed"];
            } 
        }
        [EntityFieldDatabaseMappingAttribute(TableName="WorkQueueUid", ColumnName="Duplicate")]
        public ISearchCondition<Boolean> Duplicate
        {
            get
            {
              if (!SubCriteria.ContainsKey("Duplicate"))
              {
                 SubCriteria["Duplicate"] = new SearchCondition<Boolean>("Duplicate");
              }
              return (ISearchCondition<Boolean>)SubCriteria["Duplicate"];
            } 
        }
        [EntityFieldDatabaseMappingAttribute(TableName="WorkQueueUid", ColumnName="Extension")]
        public ISearchCondition<String> Extension
        {
            get
            {
              if (!SubCriteria.ContainsKey("Extension"))
              {
                 SubCriteria["Extension"] = new SearchCondition<String>("Extension");
              }
              return (ISearchCondition<String>)SubCriteria["Extension"];
            } 
        }
        [EntityFieldDatabaseMappingAttribute(TableName="WorkQueueUid", ColumnName="GroupID")]
        public ISearchCondition<String> GroupID
        {
            get
            {
              if (!SubCriteria.ContainsKey("GroupID"))
              {
                 SubCriteria["GroupID"] = new SearchCondition<String>("GroupID");
              }
              return (ISearchCondition<String>)SubCriteria["GroupID"];
            } 
        }
        [EntityFieldDatabaseMappingAttribute(TableName="WorkQueueUid", ColumnName="RelativePath")]
        public ISearchCondition<String> RelativePath
        {
            get
            {
              if (!SubCriteria.ContainsKey("RelativePath"))
              {
                 SubCriteria["RelativePath"] = new SearchCondition<String>("RelativePath");
              }
              return (ISearchCondition<String>)SubCriteria["RelativePath"];
            } 
        }
        [EntityFieldDatabaseMappingAttribute(TableName="WorkQueueUid", ColumnName="WorkQueueUidData")]
        public ISearchCondition<XmlDocument> WorkQueueUidData
        {
            get
            {
              if (!SubCriteria.ContainsKey("WorkQueueUidData"))
              {
                 SubCriteria["WorkQueueUidData"] = new SearchCondition<XmlDocument>("WorkQueueUidData");
              }
              return (ISearchCondition<XmlDocument>)SubCriteria["WorkQueueUidData"];
            } 
        }
        [EntityFieldDatabaseMappingAttribute(TableName="WorkQueueUid", ColumnName="SeriesInstanceUid")]
        public ISearchCondition<String> SeriesInstanceUid
        {
            get
            {
              if (!SubCriteria.ContainsKey("SeriesInstanceUid"))
              {
                 SubCriteria["SeriesInstanceUid"] = new SearchCondition<String>("SeriesInstanceUid");
              }
              return (ISearchCondition<String>)SubCriteria["SeriesInstanceUid"];
            } 
        }
        [EntityFieldDatabaseMappingAttribute(TableName="WorkQueueUid", ColumnName="SopInstanceUid")]
        public ISearchCondition<String> SopInstanceUid
        {
            get
            {
              if (!SubCriteria.ContainsKey("SopInstanceUid"))
              {
                 SubCriteria["SopInstanceUid"] = new SearchCondition<String>("SopInstanceUid");
              }
              return (ISearchCondition<String>)SubCriteria["SopInstanceUid"];
            } 
        }
    }
}
